{% extends "pages/body.html" %}
{% load i18n %}
{% block content %}
<h2>{% trans "Quick registration for" %} {{ openid }}</h2>
{% trans "Fill in this form to get features of a full user account. You will be automatically logged in when you use your openID. No extra passwords! :)" %}<br />
{% trans "If you already have an account on this site you can assign this OpenID with your account using" %} <a href="/user/assign_openid/">{% trans "simple login form" %}</a>.<br />

<form action="." method="post"><input type="hidden" value="{{ token }}" name="token" />
          <table>
            <tr>
              <td style="width:35%;"><b>{% trans "Login" %}</b></td>
              <td>{{ form.login }}{% if form.login.errors %}<div class="errmsg">{{ form.login.errors|join:", " }}</div>{% endif %}</td>
            </tr>
            <tr>
              <td><b>{% trans "Email" %}</b></td>
              <td>{{ form.email }}{% if form.email.errors %}<div class="errmsg">{{ form.email.errors|join:", " }}</div>{% endif %}</td>
            </tr>
            <tr>
              <td><b>{% trans "What's the answer?" %}</b></td>
              <td><b>{{ question }}</b><br />
			{{ form.reply }}{% if form.reply.errors %}<div class="errmsg">{{ form.reply.errors|join:", " }}</div>{% endif %}<br /></td>
            </tr>
            <tr>
              <td></td>
              <td><input type="submit" value="{% trans "Register My" %}"></td>
            </tr>
          </table>
</form>
{% endblock %}
{% block crumb %}<a href="/">{% trans "Home" %}</a> > <a href="/user/">{% trans "User Panel" %}</a>{% endblock %}
{% block on_user %} id="current"{% endblock %}